package com.oig.sys.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;


@Data
@Schema(description = "用户信息")
public class LoginVo {

    @Schema(description = "主键id")
    private Integer id;
    @Schema(description = "别名")
    private String nickName;
    @Schema(description = "真实姓名或中文名")
    private String realName;
    @Schema(description = "所属租户id")
    private Integer tenantId;
    @Schema(description = "所属租户编码")
    private String tenantCode;
    @Schema(description = "所属租户名称")
    private String tenantName;

    @Schema(description = "登录账户")
    private String username;

    @Schema(description = "默认进入的子系统id")
    private Integer defaultSysId;
    @Schema(description = "默认进入的子系统名称")
    private String defaultSysName;
    @Schema(description = "默认系统的图标")
    private String defaultSysImgUrl;

    @Schema(description = "token")
    private String accessToken;


    @Schema(description = "code")
    private String code;
}
